package team240;

import battlecode.common.*;

public class MapNode {
	MapLocation myLocation;
	double myDistance;
	double myGuess;
	double myTotal;
	MapNode pre;
	MapNode next;
	MapNode previousNode;
	public MapNode (MapLocation location, double distance, double guess, MapNode previous){
		myLocation = location;
		myDistance = distance;
		myGuess = guess;
		myTotal = distance+guess;
		pre = null;
		next = null;
		previousNode = previous;
	}
}
